<%@include file="../common/common.jsp" %>
<%@ page pageEncoding="UTF-8" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
    <base href="<%=basePath%>">
    <title>User List</title>
    <meta http-equiv="pragma" content="no-cache">
    <meta http-equiv="cache-control" content="no-cache">
    <meta http-equiv="expires" content="0">
    <meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
    <meta http-equiv="description" content="This is my page">
    <link rel="stylesheet" type="text/css" href="<%=basePath%>css/user/user.css">
    <script type="text/javascript" src="<%=basePath%>script/common/jquery-1.6.js"></script>
    <script type="text/javascript" src="<%=basePath%>script/common/common.js"></script>
    <script type="text/javascript" src="<%=basePath%>script/user/user.js"></script>
</head>
<body>
<h2>User Detail</h2><br/>
<%--Struts2 --%>
<%--<form action="user/userDataUpdate.action?inDto.sequenceNo=${outDto.user.sequenceNo}" method="post" id="form1">
    UserID  :<input type="text" name="inDto.userId" disabled="disabled" value="<s:property value="#request.outDto.user.userId"/>" /><br />
    UserName:<input type="text" name="inDto.userName" value="<s:property value="#request.outDto.user.userName"/>" /><br />
    PassWord:<input type="text" name="inDto.password" value="<s:property value="#request.outDto.user.userPassword"/>" /><br />
    <input type="submit" value="保存" /><input type="reset" value="重置" /><br />
    <span><a href="<%=basePath%>/user/userList.html">返回列表</a></span>
</form>--%>

<%-- Srping MVC --%>
<form action="<%=basePath %>user/userUpdate.html?sequenceNo=${user.sequenceNo}" method="post" id="form1">
    UserName:<input type="text" name="userName" value="${user.userName }"/><br/>
    PassWord:<input type="text" name="userPassword" value="${user.userPassword }"/><br/>
    <input type="submit" value="保存"/><input type="reset" value="重置"/><br/>
    <a href="<%=basePath%>/user/userList.html">返回列表</a><br />
    <span>计数器：${user.count }</span>
</form>
</body>
</html>
